package images;

import java.util.HashMap;
import java.util.Map;

import com.uqbar.vainilla.appearances.Sprite;

public class GameImagesMap {

	private static Map<String, Sprite> dic = new HashMap<String, Sprite>();

	public void initializeResources(){
		//add Sprite's here
	}
	
	public Sprite getImage(String name){
		return dic.get(name);
	}
	public Map<String, Sprite> getDic() {
		return dic;
	}

	public void setDic(Map<String, Sprite> dic) {
		GameImagesMap.dic = dic;
	}

	public void addSprite(String name, Sprite sp) {
		GameImagesMap.dic.put(name, sp);
		
	}
}
